package com.miracle9.game.entity;

import javax.persistence.Column;
import javax.persistence.Entity;

@Entity
public class GameDataLog
  extends BaseEntity
{
  private int type;
  private String datetime;
  private double sumYaGold;
  private double sumDeGold;
  private int promoterId;
  private int promoterGold;
  @Column(columnDefinition="double default 0")
  private double diceSumYaGold = 0.0D;
  @Column(columnDefinition="double default 0")
  private double diceSumDeGold = 0.0D;
  @Column(columnDefinition="double default 0")
  private double mainSumYaGold = 0.0D;
  @Column(columnDefinition="double default 0")
  private double mainSumDeGold = 0.0D;
  
  public GameDataLog() {}
  
  public GameDataLog(int type, String datetime, double sumYaGold, double sumDeGold, int promoterId, int promoterGold)
  {
    this.type = type;
    this.datetime = datetime;
    this.sumYaGold = sumYaGold;
    this.sumDeGold = sumDeGold;
    this.promoterId = promoterId;
    this.promoterGold = promoterGold;
  }
  
  public int getPromoterGold()
  {
    return this.promoterGold;
  }
  
  public void setPromoterGold(int promoterGold)
  {
    this.promoterGold = promoterGold;
  }
  
  public int getType()
  {
    return this.type;
  }
  
  public void setType(int type)
  {
    this.type = type;
  }
  
  public String getDatetime()
  {
    return this.datetime;
  }
  
  public void setDatetime(String datetime)
  {
    this.datetime = datetime;
  }
  
  public double getSumYaGold()
  {
    return this.sumYaGold;
  }
  
  public void setSumYaGold(double sumYaGold)
  {
    this.sumYaGold = sumYaGold;
  }
  
  public double getSumDeGold()
  {
    return this.sumDeGold;
  }
  
  public void setSumDeGold(double sumDeGold)
  {
    this.sumDeGold = sumDeGold;
  }
  
  public int getPromoterId()
  {
    return this.promoterId;
  }
  
  public void setPromoterId(int promoterId)
  {
    this.promoterId = promoterId;
  }
  
  public double getDiceSumYaGold()
  {
    return this.diceSumYaGold;
  }
  
  public void setDiceSumYaGold(double diceSumYaGold)
  {
    this.diceSumYaGold = diceSumYaGold;
  }
  
  public double getDiceSumDeGold()
  {
    return this.diceSumDeGold;
  }
  
  public void setDiceSumDeGold(double diceSumDeGold)
  {
    this.diceSumDeGold = diceSumDeGold;
  }
  
  public double getMainSumYaGold()
  {
    return this.mainSumYaGold;
  }
  
  public void setMainSumYaGold(double mainSumYaGold)
  {
    this.mainSumYaGold = mainSumYaGold;
  }
  
  public double getMainSumDeGold()
  {
    return this.mainSumDeGold;
  }
  
  public void setMainSumDeGold(double mainSumDeGold)
  {
    this.mainSumDeGold = mainSumDeGold;
  }
}
